/**
 * Anderground project - Subway maps processor application.
 * Copyright (C) 2008-2009 Eldar Abusalimov, Ilya Shurigyn
 * 
 * This file is part of Anderground.
 * 
 * Anderground is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * Anderground is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Anderground.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.anderground.core.model;

/**
 * @author Eldar Abusalimov (eldar.abusalimov@gmail.com)
 */
public class Editor {

	protected Editor() {
	}

	protected Station.Editor getEditor(Station station) {
		return station.getEditor();
	}

	protected Station.Label.Editor getEditor(Station.Label label) {
		return label.getEditor();
	}

	protected Line.Editor getEditor(Line line) {
		return line.getEditor();
	}

	protected Transition.Editor getEditor(Transition transition) {
		return transition.getEditor();
	}

	protected Transfer.Editor getEditor(Transfer transfer) {
		return transfer.getEditor();
	}

	protected Tunnel.Editor getEditor(Tunnel tunnel) {
		return tunnel.getEditor();
	}

	protected Description.Editor getEditor(Description description) {
		return description.getEditor();
	}

	protected City.Editor getEditor(City city) {
		return city.getEditor();
	}

	protected Country.Editor getEditor(Country country) {
		return country.getEditor();
	}

	protected ModelData.Editor getEditor(ModelData modelData) {
		return modelData.getEditor();
	}

}
